package com.hg.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hg.pojo.HgMallOrders;
import com.hg.pojo.dto.AddOrdersVo;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
@Transactional

public interface HgMallOrderService extends IService<HgMallOrders> {
    Page<HgMallOrders> selectHgMallOrdersList(int currentPage, int pageSize,String appid,String orderNum,String oddNum,Integer orderStatus);

    HgMallOrders selectHgMallOrdersForm(String id);

    int deleteByIds(String[] ids);

    int updateOrder(HgMallOrders hgMallOrders);

    int addOrder(AddOrdersVo ordersVo);

    int updateStatus(String id, int status);

    int updateMealStatus(String id, int mealStatus);

    List<HgMallOrders> selectHgMAllOrdersAll();

}
